import sys
import quadai
from quadai.balloon import balloon
from quadai.snowglobe import snowglobe


def main(game: str = "balloon") -> None:
    """
    主函数用来加载游戏

    Args:
        需要运行的模式 (balloon, snowglobe)
    """
    if game == "balloon":
        balloon()
    #elif game == "snowglobe":
        #snowglobe()
    else:
        print(f"Unknown tracking library: {game} (expected: balloon or snowglobe)")


if __name__ == "__main__":
    print(f"Hello world from {quadai.__name__} ({quadai.__doc__})")
    if len(sys.argv) > 1:
        main(sys.argv[1])
    else:
        main()
